package cn.csg.iotplatform.module.system.api.deviceno;

import cn.csg.iotplatform.module.system.api.deviceno.dto.ModelDeleteVO;
import cn.csg.iotplatform.module.system.api.deviceno.dto.ModelVO;
import com.alibaba.fastjson.JSONObject;
import com.dtflys.forest.annotation.Header;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.http.ForestResponse;

import java.util.Map;

/**
 * @author Clqv
 * @create 2024--11--13 10:25
 */
public interface EqtDeviceNoClient {

    @Post("#{iot.eqt-center.address}/bs/eqt/esb/iotmanage/model/saveEqtDeviceModel")
    ForestResponse<JSONObject> saveEqtDeviceModel(@Header Map<String, Object> headerMap, @JSONBody ModelVO modelVO);


    @Post("#{iot.eqt-center.address}/gmp/eqt/iotmanage/model/delModelInfo")
    ForestResponse<JSONObject> deleteEqtDeviceModel(@Header Map<String, Object> headerMap, @JSONBody ModelDeleteVO modelVO);
}
